include(../qxmpp/qxmpp.pri)

TEMPLATE = app
CONFIG += console

INCLUDEPATH += $$QXMPP_INCLUDE_DIR
LIBS += $$QXMPP_LIBS
PRE_TARGETDEPS += $$QXMPP_LIBRARY_FILE

# Symbian packaging rules
symbian {
    vendorinfo = \
        "; Localised Vendor name" \
        "%{\"QXmpp\"}" \
        " " \
        "; Unique Vendor name" \
        ":\"QXmpp\"" \
        " "

    examples_deployment.pkg_prerules += vendorinfo
    DEPLOYMENT += examples_deployment

    TARGET.CAPABILITY = "NetworkServices"
}


TARGET = xqchat
TEMPLATE = app

SOURCES += main.cpp MainDialog.cpp ChatDialog.cpp LoginDialog.cpp \
	XQChatClient.cpp XQChatRenrenClient.cpp \
	XQChatClientManager.cpp \
	XQChatConfiguration.cpp \
	XQChatRoster.cpp XQChatRenrenRoster.cpp \
	XQChatRosterManager.cpp XQChatNetManager.cpp \
	XQChatRosterItem.cpp XQChatRosterItemModel.cpp XQChatRosterListView.cpp \
	XQChatRosterNode.cpp XQChatRosterView.cpp XQChatRosterScene.cpp XQChatRosterGroup.cpp \
	XQChatTalkGroup.cpp XQChatTalkNode.cpp

HEADERS += MainDialog.h ChatDialog.h LoginDialog.h \
	XQChatClient.h XQChatRenrenClient.h \
	XQChatClientManager.h \
	XQChatConfiguration.h \
	XQChatRoster.h XQChatRenrenRoster.h \
	XQChatRosterManager.h XQChatNetManager.h \
	XQChatRosterItem.h XQChatRosterItemModel.h XQChatRosterListView.h \
	XQChatRosterNode.h XQChatRosterView.h XQChatRosterScene.h XQChatRosterGroup.h \
	XQChatTalkGroup.h XQChatTalkNode.h

QT += network \
    xml
